home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / nosvw137.zip / RSPF < prev    next >
Text File  |  1991-09-18  |  6KB  |  144 lines

  1. ====                                                NOSview [137]
  2. rspf
  3. ====
  4.  
  5.  
  6. RSPF is the Radio Shortest Path First protocol.  Each node that
  7. runs RSPF tries to figure out which other nodes are its
  8. neighbours.  They do so by listening for Router-to-Router-Hello
  9. (RRH) messages sent by other RSPF nodes.  When such an RRH
  10. message is received, NOS will determine whether the link is bi-
  11. directional by pinging the other station.
  12.  
  13. All neighbour nodes might not be running RSPF, but they are
  14. discovered by monitoring changes in the ARP table.
  15.  
  16. The quality of the AX.25 link is assessed by comparing the number
  17. of sent and received AX.25 frames on the channel from the
  18. particular node.  The routing table broadcasts contain not only a
  19. list of the originating nodes' neighbours, but a list of
  20. everybody else's neighbouring nodes as well.
  21.  
  22. Using this information, it is possible to calculate the shortest
  23. path to any station on the network.
  24.  
  25. To activate RSPF, do the following:
  26.  
  27. 1.  Set the broadcast address for the interface (e.g. with the
  28. command 'ifconfig tnc0 broadcast 44.255.255.255').  This
  29. automatically creates a routing entry for 44.255.255.255 in the
  30. routing table.  If you intend to use RSPF on more than one
  31. interface, the interfaces must be given different broadcast
  32. addresses, otherwise the routing entries will overwrite each
  33. other.  Exactly how the broadcast looks like is of minor concern
  34. to NOS, since any IP datagram sent inside an AX.25 frame for
  35. "QST" is regarded as a broadcast datagram.
  36.  
  37. 2.  Configure the interface as an RSPF interface with quality 8
  38. and a horizon of 32 hops (e.g. 'rspf interface tnc0 8 32').
  39.  
  40. 3.  Set the interval between RRH messages (e.g. 'rspf rrhtimer
  41. 900').
  42.  
  43. 4.  Define how long it takes until an idle link is suspected bad
  44. (e.g. 'rspf suspecttimer 2000).
  45.  
  46. 5.  Set the interval between routing updates (e.g. 'rspf timer
  47. 900').
  48.  
  49.  
  50. The RSPF commands are now described.
  51.  
  52. _________________________________________________________________
  53. rspf interface [<interface> <quality> <horizon>]
  54. _________________________________________________________________
  55. Display or set an RSPF interface.  The command 'rspf interface'
  56. without parameters displays existing interface settings.
  57.  
  58. <interface> is the required interface RSPF should use.
  59. <quality> is from 1 to 127
  60. <horizon> is from 1 to 255 hops
  61.  
  62. >> Example:  rspf interface tnc0 8 32
  63.  
  64.  
  65. _________________________________________________________________
  66. rspf maxping [<n>]                                     Default: 5
  67. _________________________________________________________________
  68. Display or set the maximum number of times to ping.
  69.  
  70. >> Example:  rspf maxping 10
  71.  
  72.  
  73. _________________________________________________________________
  74. rspf message ["<message_string>"]
  75. _________________________________________________________________
  76. Display or set the RSPF message string.
  77.  
  78. >> Example:  rspf message "RSPF routing in use.  RIP disabled"
  79.  
  80.  
  81. _________________________________________________________________
  82. rspf mode [vc | datagram | none]
  83. _________________________________________________________________
  84. Display or set the preferred mode for RSPF.
  85.  
  86. >> Example:  rspf mode datagram
  87.  
  88.  
  89. _________________________________________________________________
  90. rspf routes
  91. _________________________________________________________________
  92. Display the RSPF routing table.
  93.  
  94. >> Example of 'rspf routes' display output:
  95. .............................................................
  96. :      Local routing update:                                :
  97. :      Reporting Router: ns9bob Seq 32769 Subseq 0 links 1  :
  98. :      horizon 32 ERP factor 0 cost 8 adjacencies 3         :
  99. :            ns9ken/32                                      :
  100. :            ns9jim/32                                      :
  101. :            region42/24                                    :
  102. :...........................................................:
  103.  
  104.  
  105. _________________________________________________________________
  106. rspf rrhtimer [seconds]                                Default: 0
  107. _________________________________________________________________
  108. Display or set the Router-to-Router Hello (RRH) message interval.
  109.  
  110. >> Example:  rspf rrhtimer 900
  111.  
  112.  
  113. _________________________________________________________________
  114. rspf status
  115. _________________________________________________________________
  116. Display the current RSPF status.
  117.  
  118. >> Example of 'rspf status' display output:
  119. ...........................................................
  120. : Bad checksum 0  Bad version 0  Not RSPF interface 0     :
  121. : RRH in 10  RRH out 12 Update in 3  Update out 6         :
  122. : Non-adjacency update 0  Old node report 1  Polls sent 0 :
  123. : Addr        Cost    Seq    Heard   Timer    TOS   State :
  124. : ns9ken         8    515        0   622/1999  16   OK    :
  125. : ns9liz         8      0        0   442/1999   0   OK    :
  126. :.........................................................:
  127.  
  128.  
  129. _________________________________________________________________
  130. rspf suspecttimer [seconds]                            Default: 0
  131. _________________________________________________________________
  132. Display or set the time limit for an idle link to be suspected to
  133. be bad.
  134.  
  135. >> Example:  rspf suspecttimer 2000
  136.  
  137.  
  138. _________________________________________________________________
  139. rspf timer [seconds]                                   Default: 0
  140. _________________________________________________________________
  141. Display or set the interval between routing updates.
  142.  
  143. >> Example:  rspf timer 900
  144.